package com.zhouxiaoge.模板模式;

/**
 * @author 周小哥 gqzmy@163.com 2023/3/21 17:29
 */

public class HummerModelH1 extends HummerModel {
    @Override
    protected void start() {
        System.out.println("悍马H1~~~启动");
    }

    @Override
    protected void end() {
        System.out.println("悍马H1~~~停止");
    }

    @Override
    protected void alarm() {
        System.out.println("悍马H1~~~鸣笛");
    }

    @Override
    protected void engineBoom() {
        System.out.println("悍马H1~~~发动机轰鸣");
    }

}
